Skip to content

Bump elasticsearch/elasticsearch from 8.17.1 to 9.0.0#1602

Closed
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/elasticsearch/elasticsearch-9.0.0
Closed

Bump elasticsearch/elasticsearch from 8.17.1 to 9.0.0#1602
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/elasticsearch/elasticsearch-9.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 21, 2025

Bumps elasticsearch/elasticsearch from 8.17.1 to 9.0.0.

Release notes

Sourced from elasticsearch/elasticsearch's releases.

Release 9.0.0

This is the new major release of elasticsearch-php compatible with Elasticsearch 9.0.0 🎉

  • Compatibility with Elasticsearch 9.0: All changes and additions to Elasticsearch APIs for its 9.0 release are reflected in this release.
  • Serverless client merged in: the elastic/elasticsearch-serverless client is being deprecated, and its functionality has been merged back into this client. This should have zero impact on the way the client works by default. If an endpoint is available in serverless, the PHP function will contains a @group serverless phpdoc attribute. If you try to use an endpoint that is not available in serverless you will get a 410 HTTP error with a message as follows: "this endpoint exists but is not available when running in serverless mode". The 9.0.0 client can recognize that it is communicating with a serverless instance if you are using a URL managed by Elastic (e.g. *.elastic.cloud). If you are using a proxy, the client will be able to recognize that the host is serverless from the first response. Alternatively, you can explicitly indicate that the host is serverless using the Client::setServerless(true) function (false by default).
  • New transport library with PSR-18 cURL client as default: we've removed the Guzzle dependency from the client. By default, the built-in cURL-based HTTP client will be used if no other PSR-18 compatible clients are detected. See release 9.0.0 of elastic-transport-php.

Breaking changes

  • Use of PHP 8.1+: Starting from 9.0.0 the elasticsearch-php client requires PHP 8.1+.

Deprecations

  • Utility::urlencode(): this function has been deprecated in favor of rawurlencode() of PHP (see #1278).
Changelog

Sourced from elasticsearch/elasticsearch's changelog.

Release 9.0.0

  • Use of PHP 8.1+: Starting from 9.0.0 the elasticsearch-php client requires PHP 8.1+.
  • Compatibility with Elasticsearch 9.0: All changes and additions to Elasticsearch APIs for its 9.0 release are reflected in this release.
  • Serverless client merged in: the elastic/elasticsearch-serverless client is being deprecated, and its functionality has been merged back into this client. This should have zero impact on the way the client works by default. If an endpoint is available in serverless, the PHP function will contains a @group serverless phpdoc attribute. If you try to use an endpoint that is not available in serverless you will get a 410 HTTP error with a message as follows: "this endpoint exists but is not available when running in serverless mode". The 9.0.0 client can recognize that it is communicating with a serverless instance if you are using a URL managed by Elastic (e.g. *.elastic.cloud). If you are using a proxy, the client will be able to recognize that the host is serverless from the first response. Alternatively, you can explicitly indicate that the host is serverless using the Client::setServerless(true) function (false by default).
  • New transport library with PSR-18 cURL client as default: we've removed the Guzzle dependency from the client. By default, the built-in cURL-based HTTP client will be used if no other PSR-18 compatible clients are detected. See release 9.0.0 of elastic-transport-php.
Commits
  • 5aa8b17 Updated the Utility for testing
  • 78aca6f Updated README and BREAKING_CHANGES
  • 8b1e0b5 Updated CHANGELOG
  • 31a4d8c Added tests for elastic-api-version and compatibility mode
  • e52bd51 Changed PHPStan configuration
  • d303100 Added elastic-api-version when serverless
  • a5251e6 Fixed yaml_test in github action
  • 75ef7ef Refactored buildkite tests using run-elasticsearch
  • 761577e Try to run Elasticsearch in run-repository
  • c20e9e8 Added docker install in Dockerfile
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2025

Flow PHP - Benchmarks

Results of the benchmarks from this PR are compared with the results from 1.x branch.

Extractors
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
| benchmark             | subject           | revs | its | mem_peak        | mode             | rstdev         |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.883mb +0.02%  | 616.852ms +0.78% | ±0.61% -30.87% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.467mb +0.06%  | 1.340s -0.18%    | ±0.54% +47.22% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.480mb +0.00% | 940.196ms +1.00% | ±0.21% -79.39% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.607mb +0.03%  | 38.727ms +0.74%  | ±0.48% -57.99% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.581mb +0.03%  | 615.772ms +2.70% | ±0.71% +24.48% |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.404mb +0.00% | 70.247ms +0.26% | ±0.65% -25.77% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev           |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.050mb +0.00%  | 107.243ms +1.67% | ±0.86% +1044.59% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.082mb +0.00%  | 98.413ms -0.47%  | ±0.18% -89.80%   |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.564mb +0.00% | 20.735s -1.04%   | ±0.03% -92.85%   |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.139mb +0.01%  | 31.034ms +1.24%  | ±1.70% +688.98%  |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.067mb +0.00%  | 3.565ms +10.96%  | ±2.17% +124.09%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.423mb +0.00% | 184.397ms +0.20% | ±0.33% -29.15%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.143mb +0.00%  | 18.820ms +2.06%  | ±0.84% +8.61%    |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.941mb +0.00%  | 1.891ms +15.78%  | ±1.75% -43.39%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.941mb +0.00%  | 1.699ms +3.81%   | ±3.53% +6.30%    |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.102mb +0.00%  | 5.688ms +36.42%  | ±3.06% +10.18%   |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.631mb +0.00%  | 16.717ms +2.14%  | ±0.75% -13.57%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.631mb +0.00%  | 16.625ms +1.77%  | ±0.55% +66.16%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.322mb +0.00%  | 1.706μs 0.00%    | ±2.72% 0.00%     |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.322mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.540mb +0.00% | 14.898ms -0.22%  | ±0.54% +105.38%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.608mb +0.00% | 71.608ms -1.01%  | ±0.81% -21.83%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.151mb +0.00%  | 1.559ms +16.59%  | ±2.49% -19.04%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.522mb +0.00% | 64.192ms +3.11%  | ±0.45% -68.23%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.204mb +0.00%  | 3.788ms -0.74%   | ±1.93% +19.99%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.685mb +0.00%  | 40.886ms +2.02%  | ±0.93% -32.73%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.685mb +0.00%  | 40.722ms -1.01%  | ±1.18% +145.57%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.685mb +0.00%  | 40.935ms +1.26%  | ±3.02% +139.73%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.763mb +0.00%  | 8.503ms +4.99%   | ±1.70% +45.93%   |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.513mb +0.00%  | 29.800ms +1.00%  | ±0.77% -30.27%   |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.322mb +0.00%  | 13.888μs +4.51%  | ±0.68% -65.12%   |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.322mb +0.00%  | 15.800μs +2.52%  | ±3.61% +492.70%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.424mb +0.00% | 190.959ms +3.63% | ±1.37% +27.69%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.048mb +0.00%  | 464.409ms +0.80% | ±0.55% +1265.39% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.858mb +0.01%  | 94.073ms -0.49%  | ±1.88% +88.73%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.513mb +0.00% | 735.773ms +2.06% | ±0.63% +33.58%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.023mb +0.00%  | 365.859ms +0.90% | ±0.36% -45.25%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.801mb +0.01%  | 78.109ms +0.83%  | ±0.80% -42.18%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@dependabot dependabot Bot force-pushed the dependabot/composer/elasticsearch/elasticsearch-9.0.0 branch 2 times, most recently from c430fa3 to 595fe3a Compare April 28, 2025 15:20
Bumps [elasticsearch/elasticsearch](https://github.com/elastic/elasticsearch-php) from 8.17.1 to 9.0.0.
- [Release notes](https://github.com/elastic/elasticsearch-php/releases)
- [Changelog](https://github.com/elastic/elasticsearch-php/blob/main/CHANGELOG.md)
- [Commits](elastic/elasticsearch-php@v8.17.1...v9.0.0)

---
updated-dependencies:
- dependency-name: elasticsearch/elasticsearch
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/elasticsearch/elasticsearch-9.0.0 branch from 595fe3a to 618e25b Compare April 28, 2025 19:25
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 28, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/composer/elasticsearch/elasticsearch-9.0.0 branch April 28, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant